package com.dreamoo.common.threadpool.config;


import com.dreamoo.common.threadpool.factory.DreamooThreadPoolExecutorFactory;
import org.springframework.context.annotation.Bean;

/**
 * @author 山顶洞人郑某
 * @className DreamooThreadPoolConf.java
 * @date 2025 05 06
 */
public class DreamooThreadPoolConf {
    /**
     * 线程池工厂
     * @return
     */
    @Bean
    public DreamooThreadPoolExecutorFactory dreamooThreadPoolExecutorFactory(){
        return new DreamooThreadPoolExecutorFactory();
    }
}
